import time
from django.shortcuts import render
from views import is_auth

@is_auth
def view(request):
    user = {
        'name': request.user,
        'date': time.time()
    }
    return render(request, 'proxy/view.html', {'user': user})